package cn.xiaolang.function.jdk8.functional_interface;

/**
 * TODO
 *
 * @author fuhw/Dean
 * @date 2019-07-19
 */
public class MyFuncInterfaceApplyDemo {


    public static void main(String[] args) {
        System.out.println(handle(100D, a -> "hello,boy,ni get: " + a));
    }


    private static String handle(Double param, MyFuncInterface<Double, String> myFuncInterface) {
        return myFuncInterface.doApply(param);
    }
}
